package cn.itsource.pethome.user.service;

import cn.itsource.pethome.basic.service.IBaseService;
import cn.itsource.pethome.user.domain.User;

/**
 * 用户service
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 校验手机号码是否存在
     * @param phone  手机号码
     */
    void checkPhone(String phone);


    /**
     * 发送手机验证码
     * @param phone
     */
    void sendMobileCodeByPhone(String phone);
}
